﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Program03
    {
        static void Main(string[] args)
        {
            UDisk uDisk = new UDisk();
            MobileDisk mobileDisk = new MobileDisk();
            Computer computer = new Computer("一台",uDisk,mobileDisk);
            computer.Close();
            computer.Open();
            computer.Read();
            computer.Write();
        }
    }
}
